<?php
/**
 * 店铺
 * 
 * Created	: 2010-11-24
 * Modified : 2010-11-24
 * @author  : 陈立强
 */
class SShop extends Shop {
	
	/**
	 * 获取店铺信息
	 * @param int $uid
	 * @param int $to_uid 要查看他人的UID
	 */
	public static function getInfo($uid, $to_uid=null)
	{
		global $L, $G;
		$info = parent::getInfo($uid, $to_uid);
		if (!$info) {
			return array(
				'val' => false,
				'msg' => $L['Failure_Read']
			);
		} else {
			return array(
				'val' => true,
				'data' => array(
					'info' => $info
				)
			);
		}
	}
}